package com.good.controller;

import javax.validation.Valid;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.good.entity.A;

@Controller
public class ValidaterController {
	@RequestMapping(value="/aaa",method=RequestMethod.POST)
	public void t1(@Valid A a){
		System.out.println("aaa");
	}

}
